<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>广告位管理</title>

<link href="${rc.getContextPath()}/resources/css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/jquery.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/common.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/list.js"></script>

 <!-- 引入弹出JS begin -->
<script type="text/javascript" src="${rc.getContextPath()}/js/lhgdialog/lhgdialog.min.js?self=true"></script>
<!-- 引入弹出JS end -->
<script type="text/javascript">
var base;
$(document).ready(function(){
	 base = '${rc.getContextPath()}';
	var $listForm = $("#listForm");
 
 
	
});

function getCheckBox(){
	 
    var ids="";
    $("input[name='ids']:checked").each(function(){  
             ids += $(this).val()+",";
     });
    if (ids.length > 0 ) ids = ids.substring(0, ids.length-1);      
	  return ids;

}


function refreshIframe(){
	window.location.reload(true);
}

 

</script>

</head>

<body    >
	<div class="path">
		 广告位管理 &raquo; 广告位列表
	</div>

<form id="listForm" action="${rc.getContextPath()}/adv1/admin/list.html" method="get">
	<!-- 隐藏域 begin-->
		  
    <!-- 隐藏域 end-->
 
		<table id="listTable" class="list">
			<tr>
 



				<th>
					<a href="javascript:;"  >广告位</a>
				</th>
				 <th>
					<a href="javascript:;"  >图片</a>
				</th>
				<th>
					<a href="javascript:;"   >外联地址</a>
				</th>
				<th>
					<a href="javascript:;"   >操作</a>
				</th>
			</tr>	
				
 
		<#list  list as adv>
		
				<tr>
 

					<td>
 					    <span > 
							 ${adv.advDesc}
						</span>
 
					</td>
					<td>
						<span > 
							${adv.url!'暂无'}
						</span>
					</td>
					<td>
						<span > 
							${adv.link!'暂无'}
						</span>
					</td>
 					 <td>
						 <a href="${base}/adv1/admin/edit.html?id=${adv.id}">修改</a>
 
					</td>
				</tr>
			</#list>
 
		</table>
 
	</form>


</body>
</html>
	